package com.beck.controller;

import com.beck.House;
import com.beck.MyBean;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class HelloWorldController {
    @Autowired
    MyBean myBean;
    @Autowired
    House house;

    @RequestMapping("hello")
    public House hello() {
        log.debug("this is a log4j2 test");

        Integer.to
        return house;
    }
}
